Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add kwarg support for CLIArg and subclassing config models with CLIArg fields #9

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

jinmannwong
Copy link

Allow kwargs for cli args and also modified function for finding models to use model_fields instead of __annotations__, which are not inherited from parent ConfigModel. Added test to check cli args from fields in parents are found.

@FussyDuck
Copy link

FussyDuck commented Nov 22, 2024

CLA assistant check
All committers have signed the CLA.

@jinmannwong jinmannwong reopened this Nov 22, 2024
@jinmannwong jinmannwong changed the title Add kwarg support for CLIArg and subclassing config models Add kwarg support for CLIArg and subclassing config models with CLIArg fields Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants